package com.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author marisheng
 * @since 2019-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Terminal implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "terminal_id", type = IdType.AUTO)
    private Integer terminalId;

    /**
     * 终端ip地址
     */
    private String terminalIp;

    /**
     * 终端mac地址
     */
    private String terminalMac;

    /**
     * 站点表外键
     */
    private Integer terminalStation;

    /**
     * 房间号
     */
    private String terminalRoom;

    /**
     * 在线
     * 离线
     */
    private String terminalLine;

    /**
     * 所属分组
     */
    private Integer terminalGroup;

    /**
     * 最后访问时间
     */
    private LocalDateTime terminalLastAccessTime;

    /**
     * 版本号
     */
    private String terminalVersionCode;

    /**
     * 型号
     */
    private String terminalSystemModel;

    /**
     * 是否锁定
     * 正常
     * 已锁定
     */
    private String terminalLock;

    /**
     * 总在线时长
     */
    private Long terminalTotalOnlineTime;

    /**
     * 终端密钥
     */
    private String terminal_key;
    /**
     * 终端密钥id
     */
    private Integer terminal_key_id;
    /**
     * 终端审核
     */
    private String terminalShenhe;
}
